package com.bkgy.modular.tbdsjrawcheckc642.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.bkgy.converter.*;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author ZhuHongKai
 * @version 1.0
 * @ClassName TbDsjRawcheckC642Copy
 * @date 2022/11/25 14:42
 */
@Data
public class TbDsjRawcheckC642Copy{


    @ExcelProperty("2130酸轧出口钢卷号")
    @ColumnWidth(20)
    private String cold_coil_id;

    @ExcelProperty("2130酸轧入口钢卷号")
    @ColumnWidth(20)
    private String hot_coil_id;

    @ExcelProperty("钢卷重量")
    @ColumnWidth(20)
    private String act_wt;

    @ExcelProperty("钢种牌号")
    @ColumnWidth(20)
    private String steelgrade;

    @ExcelProperty("内部钢种牌号")
    @ColumnWidth(20)
    private String inner_steelgrade;

    @ExcelProperty("酸轧成品厚度")
    @ColumnWidth(20)
    private String act_thick;

    @ExcelProperty("酸轧成品宽度")
    @ColumnWidth(20)
    private String act_width;

    @ExcelProperty("酸轧成品最大宽度")
    @ColumnWidth(20)
    private String max_width;

    @ExcelProperty("酸轧成品最小宽度")
    @ColumnWidth(20)
    private String min_width;

    @ExcelProperty("来料长度")
    @ColumnWidth(20)
    private String act_len;

    @ExcelProperty("外径")
    @ColumnWidth(20)
    private String act_outer_dia;

    @ExcelProperty("内径")
    @ColumnWidth(20)
    private String act_inner_dia;

    @ExcelProperty(value = "切边标记，0表示不切边，1表示切边",converter = TrimmingMarkConverter.class)
    @ColumnWidth(20)
    private String trim_flag;

    @ExcelProperty(value = "宽度异常报警, 0表示正常，1表示切边宽度超下限，2表示切边宽度超上限报警",converter = WidthAbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String width_warn;

    @ExcelProperty(value = "出口厚度异常报警,  0表示不报警，1表示报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String thk_warn;

    @ExcelProperty(value = "出口长度异常报警,  0表示不报警，1表示报警",converter = AbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String len_warn;

    @ExcelProperty(value = "出口板形异常报警,  0表示不报警小于15IU，1表示报警小于35IU，2表示严重大于35IU",converter = ExitPlateShapeAbnormalAlarmConverter.class)
    @ColumnWidth(20)
    private String flat_warn;

    @ExcelProperty(value = "是否在库，0在库，1出库",converter = AddOrDel2Converter.class)
    @ColumnWidth(20)
    private String stock;

    @ExcelProperty("厚度命中率")
    @ColumnWidth(20)
    private String thk_hit_rate;

    @ExcelProperty("厚度等级")
    @ColumnWidth(20)
    private String thk_grade;

    @ExcelProperty("宽度命中率")
    @ColumnWidth(20)
    private String wid_hit_rate;

    @ExcelProperty("宽度等级")
    @ColumnWidth(20)
    private String wid_grade;

    @ExcelProperty("板形小于15iu命中率")
    @ColumnWidth(20)
    private String flat_hit_rate1;

    @ExcelProperty("板形小于15iu等级")
    @ColumnWidth(20)
    private String flat_grade1;

    @ExcelProperty("板形小于35iu命中率")
    @ColumnWidth(20)
    private String flat_hit_rate2;

    @ExcelProperty("板形小于35iu等级")
    @ColumnWidth(20)
    private String flat_grade2;

    @ExcelProperty("生产完成时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String prod_time;

    @ExcelProperty("成品头部厚度命中率")
    @ColumnWidth(20)
    private String head_thk_hit_rate;

    @ExcelProperty("成品尾部厚度命中率")
    @ColumnWidth(20)
    private String tail_thk_hit_rate;

    @ExcelProperty("成品本体厚度命中率")
    @ColumnWidth(20)
    private String mid_thk_hit_rate;

    @ExcelProperty("成品整体厚度命中率")
    @ColumnWidth(20)
    private String whole_thk_hit_rate;

    @ExcelProperty("出口厚度头部超差最大值")
    @ColumnWidth(20)
    private String thk_head_tole_max_value;

    @ExcelProperty("出口厚度头部超差最小值")
    @ColumnWidth(20)
    private String thk_head_tole_min_value;

    @ExcelProperty("出口厚度本体超差最大值")
    @ColumnWidth(20)
    private String thk_mid_tole_max_value;

    @ExcelProperty("出口厚度本体超差最小值")
    @ColumnWidth(20)
    private String thk_mid_tole_min_value;

    @ExcelProperty("出口厚度尾部超差最大值")
    @ColumnWidth(20)
    private String thk_tail_tole_max_value;

    @ExcelProperty("出口厚度尾部超差最小值")
    @ColumnWidth(20)
    private String thk_tail_tole_min_value;

    @ExcelProperty("去除切头的头部厚度")
    @ColumnWidth(20)
    private String thk_head;

    @ExcelProperty("去除切尾的尾部厚度")
    @ColumnWidth(20)
    private String thk_tail;

    @ExcelProperty("去除切头的头部宽度")
    @ColumnWidth(20)
    private String width_head;

    @ExcelProperty("去除切尾的尾部宽度")
    @ColumnWidth(20)
    private String width_tail;

    @ExcelProperty("头部厚度超差长度")
    @ColumnWidth(20)
    private String thk_head_tole_len;

    @ExcelProperty("本体厚度超差长度")
    @ColumnWidth(20)
    private String thk_mid_tole_len;

    @ExcelProperty("尾部厚度超差长度")
    @ColumnWidth(20)
    private String thk_tail_tole_len;

    @ExcelProperty("整体厚度超差长度")
    @ColumnWidth(20)
    private String thk_whole_tole_len;

    @ExcelProperty("厚度上限")
    @ColumnWidth(20)
    private String thk_upper;

    @ExcelProperty("厚度下限")
    @ColumnWidth(20)
    private String thk_lower;

    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private String createtime;

    // TB_DSJ_PDI_C622

    @ExcelProperty("入口材料厚度")
    @ColumnWidth(20)
    private BigDecimal in_mat_thick;

    @ExcelProperty("入口材料宽度")
    @ColumnWidth(20)
    private BigDecimal  in_mat_width;

    @ExcelProperty("材料号")
    @ColumnWidth(20)
    private String cust_mat_no;


    @ExcelProperty("成材率")
    @ColumnWidth(20)
    private String yield;

    @ExcelProperty("入口重量")
    @ColumnWidth(20)
    private String in_mat_wt;

    @ExcelProperty("入口长度")
    @ColumnWidth(20)
    private String in_mat_len;

    @ExcelProperty("入口内径")
    @ColumnWidth(20)
    private String in_mat_inner_dia;

    @ExcelProperty("入口外径")
    @ColumnWidth(20)
    private String in_mat_outer_dia;

    @ExcelProperty("班组")
    @ColumnWidth(20)
    private String crew;

    @ExcelProperty("班次")
    @ColumnWidth(20)
    private String shift;


    private static final long serialVersionUID = 1L;
}
